<!DOCTYPE unspecified PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<body>
<button>这是个按钮</button>
<form action="#" method="post">
<input type="text" name='code' value='' />

<input type="submit">

</form>
</body>
</head>
</html>
<script src="http://apps.bdimg.com/libs/jquery/1.6.4/jquery.js"></script>
<script language="JavaScript">

$(document).ready(function(){
$("button").click(function(){
   $.ajax({
   url:"{:U('UcpassMsg/sand')}",
 	async:false,
		
	});
});
});
</script>